-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs: Adds documentation for the 112
exit code when posix-compliant exit codes are enabled.
#6294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/15.5.0
Are you sure you want to change the base?
Conversation
cypress-documentation
|
Project |
cypress-documentation
|
Branch Review |
docs/exit-112-network-err
|
Run status |
|
Run duration | 04m 36s |
Commit |
|
Committer | Cacie Prins |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
310
|
View all changes introduced in this branch ↗︎ |
UI Coverage
10.75%
|
|
---|---|
|
2518
|
|
3
|
Accessibility
97.21%
|
|
---|---|
|
1 critical
3 serious
4 moderate
0 minor
|
|
28
|
e934209
to
2b0bd11
Compare
**Features:** | ||
|
||
- When the `run` command requires successful negotiation with the Cypress Cloud API and the `--posix-exit-codes` flag is set, Cypress will now exit with code `112` when it cannot determine which spec to run next due to network conditions. These Cloud API negotiations are required when either `--record` or `--parallel` flags are set. Addresses [#32485](https://github.com/cypress-io/cypress/issues/32485). Addressed in [#32635](https://github.com/cypress-io/cypress/pull/32635). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text should probably come out of PR cypress-io/cypress#32635 otherwise it is unclear where the definitive text for the release notes is supposed to be reviewed.
| [4.9.0](/app/references/changelog) | Added `--quiet` flag to `cypress run` | | ||
| Version | Changes | | ||
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------- | | ||
| [15.5.0](/app/references/changelog#15-5-0) | Modified exit code documentations from narrative to a reference table, adding the 112 exit code scenario | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally the history table is used to document the changes to Cypress, rather than the changes to the documentation. So here the change would be something like
"Added POSIX exit code 112 for Cypress Cloud network failure"
Updated documentation for cypress-io/cypress#32635.
This converts the existing narrative-based documentation of Cypress' exit codes to a more comprehensive reference table, comparing both default and POSIX behavior in different scenarios. It also adds references to the
112
exit code that will be used when a--record
or--parallel
run cannot communicate with the Cypress Cloud API due to network level errors.